<div class="modal-header">
    单据详情
    <i class="yb-icon ico-close" ng-click="cancel()"></i>
</div>
<div class="modal-body" style="overflow-x: auto;min-height: 400px;max-height: 800px;">
    <div ng-if="type=='XGCC'">
        <div class="m-t-sm form-up-tb clearfix">
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">销售意向单：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.saleNo||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">客户名称：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.purchaseOrgName||'-'}}</label>
            </div>

            <div class="form-group col-xs-4 m-b-sm" ng-if="detailInfo.businessType=='XGSC'">
                <label class="col-xs-4 m-b-n text-right max-w-100">采购单号：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.purchaseNo||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">采购合同单号：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.purchaseContractNo||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">交货日期：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.deliveryDateShow||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">采购级别：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.purchaseLevelNameShow||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">发运方式：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.deliverTypeNameShow||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">结算方式：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.settleTypeName||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">收货人：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.receiverName||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">联系方式：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.receiverPhone||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">收货地址：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.receiveAddress||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">传真：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.receiverFax||'-'}}</label>
            </div>
            <div class="form-group col-xs-4 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">订单总价：</label>
                <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.totalSettlementPrice||'-'}}</label>
            </div>

            <div ng-if="detailInfo.shippingMethodId=='0001'">
                <div class="form-group col-xs-4 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">调整总价：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.totalDiscountPrice||'-'}}</label>
                </div>
                <div class="form-group col-xs-4 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">国家和地区：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.country||'-'}}</label>
                </div>
                <div class="form-group col-xs-4 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">地区：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.region||'-'}}</label>
                </div>
            </div>

            <div ng-if="detailInfo.shippingMethodId=='0002'">
                <div class="form-group col-xs-4 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">合同：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.contract||'-'}}</label>
                </div>
                <div class="form-group col-xs-4 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">机型：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.model||'-'}}</label>
                </div>
                <div class="form-group col-xs-4 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">CRM单号：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.crmOrder||'-'}}</label>
                </div>
            </div>

            <div ng-if="detailInfo.shippingMethodId=='0003'">
                <div class="form-group col-xs-4 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">是否前移：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.forward||'-'}}</label>
                </div>
                <div class="form-group col-xs-4 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">前移单号：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.pmsCode||'-'}}</label>
                </div>
                <div class="form-group col-xs-4 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100">备注：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">{{detailInfo.remark||'-'}}</label>
                </div>
            </div>

        </div>

        <div class="m-t-sm form-up-tb clearfix" style="overflow-y: auto !important;;">
            <div class="th-scroll-x">
                <table class="table-fixed border-none" width="{{viewTbConf.scrollWidth}}">
                    <thead>
                        <tr>
                            <th width="60" class="text-center">
                                <span>序号</span>
                            </th>
                            <th ng-repeat="itemCol in viewTbConf.tableCol track by $index" width="{{itemCol.width}}"
                                ng-if="!itemCol.hidden">
                                <div yb-thead-operate ng-model="itemCol" target-width="viewTbConf.scrollWidth"></div>
                            </th>
                        </tr>
                    </thead>
                </table>
            </div>
            <div class="td-scroll" ng-show="detailList.length > 0">
                <table class="table-fixed border-none" width="{{viewTbConf.scrollWidth}}">
                    <tbody>
                        <tr ng-repeat="item in detailList track by $index">
                            <td width="60">
                                {{$index+1}}
                            </td>
                            <td class="spill-dots" ng-repeat="itemCol in viewTbConf.tableCol track by $index"
                                width="{{itemCol.width}}" title="{{item[itemCol.dataField]}}" ng-if="!itemCol.hidden">
                                {{item[itemCol.dataField]}}
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="no-data w-full text-center p-t" ng-show="detailList.length === 0">
                暂时没有数据
            </div>
        </div>
    </div>

    <div ng-if="type=='XGSB'">
        <div class="m-t-sm form-up-tb clearfix">
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">申请单号：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.purchaseNo||'-'}}">
                    {{detailInfo.purchaseNo || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">接收单位：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.purchaseNo||'-'}}">
                    {{detailInfo.supplierOrgName||'-'}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">申请日期：</label>
                <div class="col-xs-8 wrapper-none spill-dots"
                    title="{{(detailInfo.applicationDate|YbDate:'yyyy-MM-dd HH:mm:ss')||'-'}}">
                    {{(detailInfo.applicationDate|YbDate:'yyyy-MM-dd HH:mm:ss') || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">申请人：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.applicationName ||'-'}}">
                    {{detailInfo.applicationName || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">申请人电话：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.applicationPhone ||'-'}}">
                    {{detailInfo.applicationPhone || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">客户名称：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.customerName||'-'}}">
                    {{detailInfo.customerName || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">调度员：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.dispatcherName||'-'}}">
                    {{detailInfo.dispatcherName || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">SAP内部订单：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.sapName || '-'}}">
                    {{detailInfo.sapName || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">移动类型：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.sapTypeName || '-'}}">
                    {{detailInfo.sapTypeName}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">发货方式：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.deliveryTypeName||'-'}}">
                    {{detailInfo.deliveryTypeName || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">结算方式：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.settleTypeName||'-'}}">
                    {{detailInfo.settleTypeName || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">三包类型：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.guaranteesTypeName||'-'}}">
                    {{detailInfo.guaranteesTypeName || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">收货人：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.receiverName||'-'}}">
                    {{detailInfo.receiverName || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">手机号：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.receiverPhone||'-'}}">
                    {{detailInfo.receiverPhone || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">收货地址：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.receiverAddress||'-'}}">
                    {{detailInfo.receiverAddress || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">传真：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.receiverFax||'-'}}">
                    {{detailInfo.receiverFax || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">审核人：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.realAuditName || '-'}}">
                    {{detailInfo.realAuditName || '-'}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">状态：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.statusDesc || '-'}}">
                    {{detailInfo.statusDesc || '-'}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">审核日期：</label>
                <div class="col-xs-8 wrapper-none spill-dots"
                    title="{{(detailInfo.realAuditDate|YbDate:'yyyy-MM-dd HH:mm:ss') || '-'}}">
                    {{(detailInfo.realAuditDate|YbDate:'yyyy-MM-dd HH:mm:ss') || '-'}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">审核意见：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.auditNote || '-'}}">
                    {{detailInfo.auditNote || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">备注：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.note||'-'}}">
                    {{detailInfo.note || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">国家和地区：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.country||'-'}}">
                    {{detailInfo.country || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">车型：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.prodType||'-'}}">
                    {{detailInfo.prodType || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">车号：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.machineNumber||'-'}}">
                    {{detailInfo.machineNumber || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">CRM单据号：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.crmOrder||'-'}}">
                    {{detailInfo.crmOrder || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">服务人员：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.serviceName||'-'}}">
                    {{detailInfo.serviceName || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">服务人员电话：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.servicePhone||'-'}}">
                    {{detailInfo.servicePhone || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">服务网点：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.serviceSite||'-'}}">
                    {{detailInfo.serviceSite || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">服务信息单号：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.serviceNo||'-'}}">
                    {{detailInfo.serviceNo || "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">是否返厂：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.isReturn||'-'}}">
                    {{detailInfo.isReturn}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">发运时间：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.deliveryReceiptTime||'-'}}">
                    {{(detailInfo.deliveryReceiptTime|YbDate:'yyyy-MM-dd HH:mm:ss')|| "-"}}
                </div>
            </div>
            <div class="form-group col-xs-3 m-b-sm">
                <label class="col-xs-4 m-b-n text-right max-w-100">序列号：</label>
                <div class="col-xs-8 wrapper-none spill-dots" title="{{detailInfo.factoryNumber||'-'}}">
                    {{detailInfo.factoryNumber|| "-"}}
                </div>
            </div>


        </div>

        <div tabset type="sub-tab" class="m-t-sm form-up-tb clearfix" style="overflow-y: auto !important;">
            <div tab heading="零件信息">


                <div class="m-t-sm form-up-tb clearfix" style="overflow-y: auto !important;;">
                    <div class="th-scroll-x">
                        <table class="table-fixed border-none" width="{{materielTableConfig.scrollWidth}}">
                            <thead>
                                <tr>
                                    <th width="60" class="text-center">
                                        <span>序号</span>
                                    </th>
                                    <th ng-repeat="itemCol in materielTableConfig.tableCol track by $index" width="{{itemCol.width}}"
                                        ng-if="!itemCol.hidden">
                                        <div yb-thead-operate ng-model="itemCol" target-width="materielTableConfig.scrollWidth"></div>
                                    </th>
                                </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="detailList.length > 0">
                        <table class="table-fixed border-none" width="{{materielTableConfig.scrollWidth}}">
                            <tbody>
                                <tr ng-repeat="item in detailList track by $index">
                                    <td width="60">
                                        {{$index+1}}
                                    </td>
                                    <td class="spill-dots" ng-repeat="itemCol in materielTableConfig.tableCol track by $index"
                                        width="{{itemCol.width}}" title="{{item[itemCol.dataField]}}" ng-if="!itemCol.hidden">
                                        {{item[itemCol.dataField]}}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="detailList.length === 0">
                        暂时没有数据
                    </div>
                </div>



                <!-- <div class="main-area d-b-60" style="top:310px;">
                    <div class="table-fixed-wrap" ele-count="4" scroll-area="right">
                        <div class="th-fixed">
                            <table class="table-fixed border-none" width="{{materielTableConfig.fixedWidth}}">
                                <thead>
                                    <tr>
                                        <th ng-repeat="itemCol in materielTableConfig.tableCol track by $index"
                                            width="{{itemCol.width}}" ng-show="!!itemCol.isShow && !!itemCol.isFixed">
                                            <div yb-thead-operate ng-model="itemCol"></div>
                                        </th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                        <div class="th-scroll-x" ng-style="{'left':materielTableConfig.fixedWidth+'px'}">
                            <table class="table-fixed border-none" width="{{materielTableConfig.scrollWidth}}">
                                <thead>
                                    <tr>
                                        <th ng-repeat="itemCol in materielTableConfig.tableCol track by $index"
                                            ng-show="!!itemCol.isShow && !itemCol.isFixed" width="{{itemCol.width}}">
                                            <div yb-thead-operate ng-model="itemCol"></div>
                                        </th>
                                    </tr>
                                </thead>
                            </table>
                        </div>
                        <div class="td-scroll-y" ng-show="detailList.length > 0">
                            <table class="table-fixed border-none" width="{{materielTableConfig.fixedWidth}}">
                                <tbody>
                                    <tr ng-repeat="item in detailList track by $index">
                                        <td class="spill-dots"
                                            ng-repeat="itemCol in materielTableConfig.tableCol track by $index"
                                            width="{{itemCol.width}}" ng-show="!!itemCol.isShow && !!itemCol.isFixed"
                                            title="{{item[itemCol.dataField]}}">
                                            <span>{{item[itemCol.dataField]}}</span>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="td-scroll" ng-show="detailList.length > 0"
                            ng-style="{'left':materielTableConfig.fixedWidth+'px'}">
                            <table class="table-fixed border-none" width="{{materielTableConfig.scrollWidth}}">
                                <tbody>
                                    <tr ng-repeat="item in detailList track by $index">
                                        <td class="spill-dots"
                                            ng-repeat="itemCol in materielTableConfig.tableCol track by $index"
                                            ng-show="!!itemCol.isShow && !itemCol.isFixed" width="{{itemCol.width}}"
                                            title="{{item[itemCol.dataField]}}">
                                            {{item[itemCol.dataField]}}
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="no-data w-full text-center p-t" ng-show="detailList.length === 0">暂时没有数据</div>
                    </div>
                </div> -->

            </div>
            <div tab heading="交接信息">
                <div class="main-area d-b-60" style="top:310px;max-height:400px;overflow-y:auto;">
                    <table class="table" style="width:unset;">
                        <thead>
                            <tr>
                                <th width="300"><span>图片</span></th>
                                <th width="200"><span>上传时间</span></th>
                                <th width="200"><span>电子签名</span></th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr ng-repeat="item in detailInfo.threeGuaranteesPurImgVOS track by $index">
                                <td>
                                    <span ng-click="viewImage(imgUrl)"
                                        ng-repeat="imgUrl in item.img.split(',') track by $index" class="img-container">
                                        <img ng-src="{{imgUrl}}" />
                                    </span>
                                </td>
                                <td>{{item.updatedTime|YbDate:"yyyy-MM-dd HH:mm:ss"}}</td>
                                <td>
                                    <span ng-click="viewImage(signature)"
                                        ng-repeat="signature in item.signImg.split(',') track by $index"
                                        class="img-container" style="border: 0px;">
                                        <img ng-src="{{signature}}" />
                                    </span>
                                </td>
                            </tr>
                            <tr
                                ng-if="!detailInfo.threeGuaranteesPurImgVOS || detailInfo.threeGuaranteesPurImgVOS.length == 0">
                                <td class="text-center" colspan="4"><span>暂时没有数据</span></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    <div ng-if="type=='XGQY'">
        <div class="m-t-sm form-up-tb clearfix">
                <div class="form-group col-xs-3 m-b-sm" >
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>申请单号</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.billNo||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-5 m-b-n text-right max-w-140"><span translate>代理商名称</span>：</label>
                    <label class="col-xs-7 wrapper-none spill-dots">
                        {{detailInfo.applyOrgName||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm" >
                    <label class="col-xs-5 m-b-n text-right max-w-140"><span translate>主机厂名称</span>：</label>
                    <label class="col-xs-7 wrapper-none spill-dots">
                        {{detailInfo.supplierOrgName||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>调出仓库</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.outWarehouseCode||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>调入仓库</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.inWarehouseCode||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>申请人</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.createName||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>申请时间</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.createDate|YbDate}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>审核人</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.auditName||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>审核时间</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.auditDate|YbDate}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm">
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>单据状态</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.statusShow||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm" >
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>备注</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.remark||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm" >
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>调度员</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.dispatcherName||'-'}}
                    </label>
                </div>

                <div class="form-group col-xs-3 m-b-sm" >
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>收货人</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.receiveUser||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm" >
                    <label class="col-xs-4 m-b-n text-right max-w-150"><span translate>收货人联系方式</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.receiveTel||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm" >
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>收货人地址</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.receiveAddress||'-'}}
                    </label>
                </div>
                <div class="form-group col-xs-3 m-b-sm" >
                    <label class="col-xs-4 m-b-n text-right max-w-100"><span translate>审核意见</span>：</label>
                    <label class="col-xs-8 wrapper-none spill-dots">
                        {{detailInfo.auditMessage||'-'}}
                    </label>
                </div>
        </div>
        <div tabset type="sub-tab" class="m-t-sm form-up-tb clearfix" style="overflow-y: auto !important;">
            <div tab heading="零件信息">
                <div class="m-t-sm form-up-tb clearfix" style="overflow-y: auto !important;;">
                    <div class="th-scroll-x">
                        <table class="table-fixed border-none" width="{{viewXGQYTbConf.scrollWidth}}">
                            <thead>
                            <tr>
                                <th width="60" class="text-center">
                                    <span>序号</span>
                                </th>
                                <th ng-repeat="itemCol in viewXGQYTbConf.tableCol track by $index" width="{{itemCol.width}}"
                                    ng-if="!itemCol.hidden">
                                    <div yb-thead-operate ng-model="itemCol" target-width="viewXGQYTbConf.scrollWidth"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="detailList.length > 0">
                        <table class="table-fixed border-none" width="{{viewXGQYTbConf.scrollWidth}}">
                            <tbody>
                            <tr ng-repeat="item in detailList track by $index">
                                <td width="60">
                                    {{$index+1}}
                                </td>
                                <td class="spill-dots" ng-repeat="itemCol in viewXGQYTbConf.tableCol track by $index"
                                    width="{{itemCol.width}}" title="{{item[itemCol.dataField]}}" ng-if="!itemCol.hidden">
                                    {{item[itemCol.dataField]}}
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="detailList.length === 0">
                        暂时没有数据
                    </div>
                </div>

            </div>
        </div>


            </div>
</div>
<!-- <style>
    .modal-body {
        width: 1200px;
    }

    .modal-content {
        width: 1200px;
    }

    .modal-header {
        width: 1200px;
    }
</style> -->
